package com.soen6441.generics;

public class TestSort {
	public static void main(String[] args) {
	  Sort<Integer> s = new Sort<>();
      Integer[] sorted = s.sort(new Integer [] {5,4,1});
    
      Sort<Double> sortDouble = new Sort<>();
      Double [] sortedDouble = sortDouble.sort (new Double [] {1.9,4.7,0.3});
     
      System.out.println("Integer Array: ");
      for(int i: sorted){
    	  System.out.println(i);
      }
      
      System.out.println("Double Array: ");
      for(double d: sortedDouble){
    	  System.out.println(d);
      }
      
      
	}

}
